package top.itmeans.yes.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import top.itmeans.yes.dto.OrderReturnApplyResult;
import top.itmeans.yes.dto.ReturnApplyQueryParam;
import top.itmeans.yes.dto.UpdateStatusParam;
import top.itmeans.yes.entity.OrderReturnApply;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单退货申请 服务类
 * </p>
 *
 * @author Yiming.Cao
 * @since 2022-04-28
 */
public interface OrderReturnApplyService extends IService<OrderReturnApply> {

    Page<OrderReturnApply> list(ReturnApplyQueryParam queryParam, Integer pageSize, Integer pageNum);

    int delete(List<Long> ids);

    OrderReturnApplyResult getItem(Long id);

    int updateStatus(Long id, UpdateStatusParam statusParam);

}
